package com.greenhouse.service;

import com.greenhouse.model.CropInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CropInfoService {
    Boolean addCrop(CropInfo cropInfo);

    List<CropInfo> showCrop();

    Boolean deleteCrop(Integer cropId);

    CropInfo updateCrop(CropInfo cropInfo);
}
